package no.ntnu.item.ttm4115.termproject.playeragent;

import java.util.Vector;
import no.ntnu.item.ttm4115.termproject.playeragent.gui.LoginDialog;
import no.ntnu.item.ttm4115.termproject.playeragent.gui.MeetingPlaceGUI;
import no.ntnu.item.ttm4115.termproject.playeragent.gui.PlayerGameGUI;
import java.lang.Integer;
import java.lang.String;
import no.ntnu.item.ttm4115.termproject.extrasagent.Player;
import no.tellu.common.javaframe.ActorAddress;
import java.util.HashMap;
import no.tellu.common.actorframe.ActorSM;

public class PlayerAgentSM extends ActorSM {


    public String myName;
    public String imName;
    public ActorAddress myIMAgentAddress;
    public ActorAddress recevierIMAgentAddress;
    public int DiscussionID;
    public String DiscussionCheckValue;
    public Integer chatId;
    public String chatButtonParameter;
    public ActorAddress myGroupAddress;
    public ActorAddress myDiscussionAgentAdress;
    public String myGroupName;
    public ActorAddress myGroupChatAddress;
    public ActorAddress groupsChatAgentAddress;
    public ActorAddress groupDiscussionAgentAddress;
    public ActorAddress myClassManagerAddress;
    public HashMap myGroupsPlayers;
    public HashMap myGroupsChatStatus;
    public int startedGroupChatTemp;
    public HashMap myGroupDisStatus;
    public int startedGroupDisTemp;
    public Player player;
    public HashMap onlinePlayersMap;
    public LoginDialog loginDialog;
    public MeetingPlaceGUI mainFrame;
    public Vector playerConfig;
    public String tempGroupName;
    public HashMap tempHashMapInvitees;
    public PlayerGameGUI gamePanelGUI;
    public String tempGroupCreated;
    public ActorAddress PositionAgentAddress;
    public ActorAddress playerPositionAgentAddress;
    public HashMap onGoingGames;
    public String groupLeaderTemp;
    public ActorAddress socialMatchingRoleAddress;


    /*
     * This method initializes the fields of the state machine.
     * You can edit this method inside the method body.
     * When the method is generated again, your part is copied.
     * Do not add any other methods in this class, they are not copied.
     */
    public void initialize(){
        loginDialog = new LoginDialog(this);
        chatId = new Integer(1);
        myGroupsChatStatus = new HashMap<String, ActorAddress>();
        myGroupDisStatus = new HashMap<String, ActorAddress>();
        onlinePlayersMap = new HashMap();
        myGroupsPlayers = new HashMap();
        playerConfig = new Vector<Player>();
        tempHashMapInvitees = new HashMap();
        onGoingGames = new HashMap();
        gamePanelGUI = null;
    }
}
